package com.changgou.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: hushengjin
 */
@FeignClient("order")
public interface OrderInfoFeign {

    @PostMapping("/orderInfo/add")
    String add(@RequestParam(value = "username") String username,
                      @RequestParam(value = "count") int count,
                      @RequestParam(value = "id") int id);
}
